import { RouteRecordRaw } from 'vue-router'
export const constantRoute: Array<RouteRecordRaw> = [
  {
    path: '/',
    redirect: '/news',
  },
  {
    path: '/news',
    name: 'news',
    component: () => import('@/views/news/index.vue'),
  },
  {
    path: '/newsDetail',
    name: 'newsDetail',
    component: () => import('@/views/news/newsDetail.vue'),
  },
  {
    path: '/img',
    name: 'img',
    component: () => import('@/views/imgs/index.vue'),
  },
  {
    path: '/img2',
    name: 'img2',
    component: () => import('@/views/imgs/img2.vue'),
  },
  {
    path: '/imgDetails',
    name: 'imgDetails',
    component: () => import('@/views/imgs/imgDetails.vue'),
  },
  {
    path: '/video',
    name: 'video',
    component: () => import('@/views/video/index.vue'),
  },
  {
    path: '/my',
    name: 'my',
    component: () => import('@/views/my/index.vue'),
  },
]
